import i18n from '@/i18n'
import { DomainModel } from '@apps/flow/domain/model'
import { ApiProperty } from '@nestjs/swagger'

export class FlowTemplateTreeVo {
  @ApiProperty({ description: 'ID' })
  id: number

  @ApiProperty({ description: i18n.t('app-flow.vo.flow-template-tree.12152231-0') })
  groupLabel: string

  @ApiProperty({ description: i18n.t('app-flow.vo.flow-template-tree.12152231-1'), type: [DomainModel.FlowTemplate] })
  templates: DomainModel.FlowTemplate[]
}
